]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: menu separators, message tray icons
authorJakub Steiner <jimmac@gmail.com>
Mon, 10 Nov 2014 11:46:23 +0000 (12:46 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 14:14:43 +0000 (15:14 +0100)
- menu separators not vertcally centered unfortunately
- MT items not horizontally centered unfortunately

data/theme/_common.scss
data/theme/gnome-shell.css

index 427049be31ab97ebcd4b83f2a3f8be843696ab59..13f32d5aad21695c69bbce9a842cbf4494e60c46 100644 (file)
@@ -223,6 +223,16 @@ StScrollBar {
       -arrow-rise: 11px;
       -arrow-box-shadow: 0 1px 3px red; //dreaming. bug #689995
   }
+  
+  .popup-separator-menu-item {
+    -margin-horizontal: 24px;
+    height: 1px; //not really the whole box
+    padding: 0; //not really centered
+    background-color: transparent;
+    border-color: lighten($borders_color,10%);
+    border-bottom-width: 1px;
+    border-bottom-style: solid;
+  }
 
   
 /* fallback menu 
@@ -674,6 +684,7 @@ StScrollBar {
   background-repeat: repeat;
   height: 72px;
   box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
+  padding: 4px;
   .message-tray-summary { height: 72px; }
   
   .message-tray-menu-button {
@@ -724,8 +735,9 @@ StScrollBar {
   }
   //Message tray items
   .summary-source {
-    border-radius: 4px;
-    padding: 6px;
+    border-radius: 0;
+    -st-natural-width: 60px; //FIXME left aligned rather than centered
+    padding: 9px;
     transition-duration: 100ms;
   }
   .summary-source-button { 
index d84ce5da3fb357cba7b9ea0c173b74a6662ab33b..44d1e2ddb0d7cd672cad753e4220ce2e86f61e7b 100644 (file)
@@ -1176,6 +1176,15 @@ StScrollBar {
   -arrow-rise: 11px;
   -arrow-box-shadow: 0 1px 3px red; }
 
+.popup-separator-menu-item {
+  -margin-horizontal: 24px;
+  height: 1px;
+  padding: 0;
+  background-color: transparent;
+  border-color: #343a3a;
+  border-bottom-width: 1px;
+  border-bottom-style: solid; }
+
 /* fallback menu 
 - odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
   app menu inside the main app window itself rather than the top bar
@@ -1561,7 +1570,8 @@ StScrollBar {
   background: #212424 url("noise-texture.png");
   background-repeat: repeat;
   height: 72px;
-  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5); }
+  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
+  padding: 4px; }
   #message-tray .message-tray-summary {
     height: 72px; }
   #message-tray .message-tray-menu-button StIcon {
@@ -1607,8 +1617,9 @@ StScrollBar {
   spacing: 6px; }
 
 .summary-source {
-  border-radius: 4px;
-  padding: 6px;
+  border-radius: 0;
+  -st-natural-width: 60px;
+  padding: 9px;
   transition-duration: 100ms; }
 
 .summary-source-button:hover .summary-source, .summary-source-button:selected .summary-source, .summary-source-button:focus .summary-source {